home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: news.sprintlink.net!mv!usenet
- From: ENGR@GSSI.MV.COM (Michael Furman)
- Subject: Re: How can I switch off name-mangling in cpp-files?
- Message-ID: <Do6DvK.692@mv.mv.com>
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- Organization: GSSI
- Date: Tue, 12 Mar 1996 22:16:32 GMT
- References: <199603102256.a29227@m.maus.de>
- X-Newsreader: WinVN 0.99.7
- X-Nntp-Posting-Host: gssi.mv.com
-
- In article <199603102256.a29227@m.maus.de>, Volker_Steinlein@m.maus.de
- says...
- >
- >Hi all,
- >
- >I got a problem. I have a c-library (*.h and *.lib) and source code of this
- >library for an complete different os. The source is written in c++ and
- should
- >be compiled with the header file of the existing c-library. The header file
- >contains only function prototypes and mustn't be modified.
- >
- >How can I stop name-mangling without loosing c++-features when I compile and
- >link the cpp-file?
-
- The only way to turn off name mangling is to declare functions as C:
-
- extern "C"
- {
- // Function prototypes here
- }
-
-
- >
- >Thanks for your help
- >
- >Volker
-
- --
- <<< If you received it by E-mail: it is a copy of post to the newsgroup >>>
- ---------------------------------------------------------------
- Michael Furman, (603)893-1109
- Geophysical Survey Systems, Inc. fax:(603)889-3984
- 13 Klein Drive - P.O. Box 97 engr@gssi.mv.com
- North Salem, NH 03073-0097 71543.1334@compuserve.com
- ---------------------------------------------------------------
-
-